package com.xyz.bigcorn.admin.system.service.serviceImpl;

import com.xyz.bigcorn.admin.system.entity.Depart;
import com.xyz.bigcorn.admin.system.mapper.DepartMapper;
import com.xyz.bigcorn.admin.system.service.DepartService;
import com.xyz.bigcorn.core.base.service.serviceImpl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description:
 * @author: Zhaopengfei
 * @copyright: 金鹏信息技术有限公司
 * @CreatedDate: 2018年03月14日 15:24
 * @Copyright: All rights Reserved，Designed By Jpsycn
 */
@Service
public class DepartServiceImpl extends BaseServiceImpl<Depart> implements DepartService {
    @Autowired
    private DepartMapper departMapper;


    @Override
    public List<Depart> findDepartByName(String name) {
        return departMapper.findDepartByName(name);
    }
}
